<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkRecentChooserWidget</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GTK+ 3 参考手册">
<link rel="up" href="RecentDocuments.html" title="最近使用文档">
<link rel="prev" href="gtk3-GtkRecentChooserMenu.html" title="GtkRecentChooserMenu">
<link rel="next" href="gtk3-GtkRecentFilter.html" title="GtkRecentFilter">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="gtk3-GtkRecentChooserMenu.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="RecentDocuments.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GTK+ 3 参考手册</th>
<td><a accesskey="n" href="gtk3-GtkRecentFilter.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#gtk3-GtkRecentChooserWidget.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#gtk3-GtkRecentChooserWidget.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="gtk3-GtkRecentChooserWidget"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gtk3-GtkRecentChooserWidget.top_of_page"></a>GtkRecentChooserWidget</span></h2>
<p>GtkRecentChooserWidget — Displays recently used files</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="gtk3-GtkRecentChooserWidget.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;gtk/gtk.h&gt;

struct              <a class="link" href="gtk3-GtkRecentChooserWidget.html#GtkRecentChooserWidget" title="struct GtkRecentChooserWidget">GtkRecentChooserWidget</a>;
<a class="link" href="gtk3-GtkWidget.html#GtkWidget" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="gtk3-GtkRecentChooserWidget.html#gtk-recent-chooser-widget-new" title="gtk_recent_chooser_widget_new ()">gtk_recent_chooser_widget_new</a>       (<em class="parameter"><code><span class="type">void</span></code></em>);
<a class="link" href="gtk3-GtkWidget.html#GtkWidget" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="gtk3-GtkRecentChooserWidget.html#gtk-recent-chooser-widget-new-for-manager" title="gtk_recent_chooser_widget_new_for_manager ()">gtk_recent_chooser_widget_new_for_manager</a>
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkRecentManager.html#GtkRecentManager" title="struct GtkRecentManager"><span class="type">GtkRecentManager</span></a> *manager</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="gtk3-GtkRecentChooserWidget.description"></a><h2>Description</h2>
<p>
<a class="link" href="gtk3-GtkRecentChooserWidget.html#GtkRecentChooserWidget" title="struct GtkRecentChooserWidget"><span class="type">GtkRecentChooserWidget</span></a> is a widget suitable for selecting recently used
files.  It is the main building block of a <a class="link" href="gtk3-GtkRecentChooserDialog.html#GtkRecentChooserDialog" title="struct GtkRecentChooserDialog"><span class="type">GtkRecentChooserDialog</span></a>.  Most
applications will only need to use the latter; you can use
<a class="link" href="gtk3-GtkRecentChooserWidget.html#GtkRecentChooserWidget" title="struct GtkRecentChooserWidget"><span class="type">GtkRecentChooserWidget</span></a> as part of a larger window if you have special needs.
</p>
<p>
Note that <a class="link" href="gtk3-GtkRecentChooserWidget.html#GtkRecentChooserWidget" title="struct GtkRecentChooserWidget"><span class="type">GtkRecentChooserWidget</span></a> does not have any methods of its own.
Instead, you should use the functions that work on a <a class="link" href="gtk3-GtkRecentChooser.html#GtkRecentChooser" title="GtkRecentChooser"><span class="type">GtkRecentChooser</span></a>.
</p>
<p>
Recently used files are supported since GTK+ 2.10.
</p>
</div>
<div class="refsect1">
<a name="gtk3-GtkRecentChooserWidget.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GtkRecentChooserWidget"></a><h3>struct GtkRecentChooserWidget</h3>
<pre class="programlisting">struct GtkRecentChooserWidget {
  GtkVBox parent_instance;
};
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-recent-chooser-widget-new"></a><h3>gtk_recent_chooser_widget_new ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-GtkWidget.html#GtkWidget" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_recent_chooser_widget_new       (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Creates a new <a class="link" href="gtk3-GtkRecentChooserWidget.html#GtkRecentChooserWidget" title="struct GtkRecentChooserWidget"><span class="type">GtkRecentChooserWidget</span></a> object.  This is an embeddable widget
used to access the recently used resources list.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="gtk3-GtkRecentChooserWidget.html#GtkRecentChooserWidget" title="struct GtkRecentChooserWidget"><span class="type">GtkRecentChooserWidget</span></a>
</td>
</tr></tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-recent-chooser-widget-new-for-manager"></a><h3>gtk_recent_chooser_widget_new_for_manager ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-GtkWidget.html#GtkWidget" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_recent_chooser_widget_new_for_manager
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkRecentManager.html#GtkRecentManager" title="struct GtkRecentManager"><span class="type">GtkRecentManager</span></a> *manager</code></em>);</pre>
<p>
Creates a new <a class="link" href="gtk3-GtkRecentChooserWidget.html#GtkRecentChooserWidget" title="struct GtkRecentChooserWidget"><span class="type">GtkRecentChooserWidget</span></a> with a specified recent manager.
</p>
<p>
This is useful if you have implemented your own recent manager, or if you
have a customized instance of a <a class="link" href="gtk3-GtkRecentManager.html#GtkRecentManager" title="struct GtkRecentManager"><span class="type">GtkRecentManager</span></a> object.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>manager</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkRecentManager.html#GtkRecentManager" title="struct GtkRecentManager"><span class="type">GtkRecentManager</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="gtk3-GtkRecentChooserWidget.html#GtkRecentChooserWidget" title="struct GtkRecentChooserWidget"><span class="type">GtkRecentChooserWidget</span></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
</div>
<div class="refsect1">
<a name="gtk3-GtkRecentChooserWidget.see-also"></a><h2>See Also</h2>
<a class="link" href="gtk3-GtkRecentChooser.html#GtkRecentChooser" title="GtkRecentChooser"><span class="type">GtkRecentChooser</span></a>, <a class="link" href="gtk3-GtkRecentChooserDialog.html#GtkRecentChooserDialog" title="struct GtkRecentChooserDialog"><span class="type">GtkRecentChooserDialog</span></a>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>